<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$type_name}</title>
</head>
<body>

<script src="https://qiyukf.com/script/81cd6a5106bf8517d666c008bda97c4e.js" charset="utf-8"></script>

<script type="text/javascript">
    ysf.on({
        'onload': function(){
            ysf.config({
                uid:"{$openid}",
                name:"{$name}",
                mobile:"{$mobile}",
                data:JSON.stringify(
                        {$confing}
                )
            });

            <if condition="$goods_info">
            ysf.product({
                show : 1, // 1为打开， 其他参数为隐藏（包括非零元素）
                title : '{$goods_info.goods_name}',
                desc : '商品编号：{$goods_info.goods_sn}',
                picture : 'https://image.shidexian.com/{$goods_info.goods_img}',
                note : '',
                url : ''
            });
            </if>
        }
    });
    setTimeout("url()",900);
    //location.href = ysf.url();
    window.url = function(){
        location.href = ysf.url();
    }

    window.openSDK = function(){
        ysf.open();
    }
</script>

</body>
</html>
